package com.wkbb.sports.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 *
 * 图表1【柱形图】：
 * [
 *        { name: '优秀', color: '#0FDD8D', nan: 200, nv: 300, num: '30%' },
 *    { name: '及格', color: '#7AEEEE', nan: 200, nv: 300, num: '30%' },
 *    { name: '良好', color: '#A7F7D2', nan: 200, nv: 300, num: '30%' },
 *    { name: '不及格', color: '#FDE08C', nan: 200, nv: 300, num: '30%' }
 * ]
 *
 *
 * x轴：['一年级', '二年级', '三年级', '四年级', '五年级', '六年级', '七年级', '八年级', '九年级', '十年级', '十一年级', '十二年级']
 *
 *
 * [
 *   {
 *     name: '优秀',
 *     type: 'bar',
 *     stack: '成绩',
 *     barWidth: 18,
 *     data: [320, 332, 301, 334, 390, 330, 320, 332, 301, 334, 390, 330]
 *   },
 *   {
 *     name: '良好',
 *     type: 'bar',
 *     stack: '成绩',
 *     data: [120, 132, 101, 134, 90, 230, 210, 332, 301, 334, 390, 330]
 *   },
 *   {
 *     name: '及格',
 *     type: 'bar',
 *     stack: '成绩',
 *     data: [220, 182, 191, 234, 290, 330, 310, 332, 301, 390, 330, 320]
 *   },
 *   {
 *     name: '不及格',
 *     type: 'bar',
 *     stack: '成绩',
 *     data: [150, 232, 201, 154, 190, 330, 410, 332, 301, 334, 390, 320]
 *   }
 * ]
 *
 *
 *
 * 图表2【折线图】：
 * [
 *    { name: '协调', color: '#24AAFF' },
 *    { name: '速度', color: '#0FDD8D' },
 *    { name: '平衡', color: '#FFD02E' },
 *    { name: '力量', color: '#FE7C73' },
 *    { name: '敏捷', color: '#38F1FF' }
 * ]
 *
 *
 * [
 *   {
 *     name: '协调',
 *     type: 'line',
 *     stack: '总量',
 *     data: [120, 132, 101, 134, 90, 230, 210, 132, 101, 134, 90, 230]
 *   },
 *   {
 *     name: '速度',
 *     type: 'line',
 *     stack: '总量',
 *     data: [220, 182, 191, 234, 290, 330, 310, 132, 101, 134, 90, 230]
 *   },
 *   {
 *     name: '平衡',
 *     type: 'line',
 *     stack: '总量',
 *     data: [150, 232, 201, 154, 190, 330, 410, 132, 101, 134, 90, 230]
 *   },
 *   {
 *     name: '力量',
 *     type: 'line',
 *     stack: '总量',
 *     data: [232, 201, 154, 190, 330, 410, 132, 101, 134, 90, 230, 150]
 *   },
 *   {
 *     name: '敏捷',
 *     type: 'line',
 *     stack: '总量',
 *     data: [150, 232, 201, 190, 330, 410, 132, 101, 134, 90, 230, 154]
 *   }
 * ]
 * x轴：['一年级', '二年级', '三年级', '四年级', '五年级', '六年级', '七年级', '八年级', '九年级', '十年级', '十一年级', '十二年级']
 *
 *
 * 图表3【折线图】：
 * x轴：['01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12']
 * [
 *   {
 *     name: '提交率',
 *     type: 'line',
 *     stack: '总量',
 *     data: [120, 132, 101, 134, 90, 230, 210, 132, 101, 134, 90, 230]
 *   }
 * ]
 *
 */

//{ name: '优秀', color: '#0FDD8D', nan: 200, nv: 300, num: '30%' },
@Data
public class DimensionDto {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "维度名称")
    private String name;

    @ApiModelProperty(value = "颜色值（#0FDD8D）")
    private String color;

    //@ApiModelProperty(value = "男")
    //private int nan;

    //@ApiModelProperty(value = "女")
    //private int nv;

    @ApiModelProperty(value = "达标/未达标百分比(30%)")
    private String percent;

    @ApiModelProperty(value = "达标/未达标人数")
    private String num;

    @ApiModelProperty(value = "达标/未达标人数(圆环图)")
    private String value;

}
